package spring.aop.annotation;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author Yancy xiao
 * @create 2022-12-29 19:26
 */
@Component
@Aspect
@Order(1)
public class ValidateAspect {

    @Before("spring.aop.annotation.LoggerAspect.pointCut()")
    public void before(){
        System.out.println("validate-->前");
    }



}
